﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tblImagesService
	{
		private static readonly tblImagesDAL db = new tblImagesDAL();
		#region[tblImages_GetById]
		public static DataTable tblImages_GetById(tblImagesInfo Data)
		{
			return db.tblImages_GetById(Data);
		}
		#endregion
		#region[tblImages_GetByAll]
		public static DataTable tblImages_GetByAll()
		{
			return db.tblImages_GetByAll();
		}
		#endregion
		#region[tblImages_GetByTop]
		public static DataTable tblImages_GetByTop(string Top, string Where, string Order)
		{
			return db.tblImages_GetByTop(Top, Where, Order);}
		#endregion
		#region[tblImages_Insert]
		public static void tblImages_Insert(tblImagesInfo Data)
		{
			 db.tblImages_Insert(Data);
		}
		#endregion
		#region[tblImages_Update]
		public static void tblImages_Update(tblImagesInfo Data)
		{
			 db.tblImages_Update(Data);
		}
		#endregion
		#region[tblImages_Delete]
		public static void tblImages_Delete(string Data)
		{
			 db.tblImages_Delete(Data);
		}
		#endregion
		#region[tblImages_GetBy_iaid]
		public static DataTable tblImages_GetBy_iaid(string _iaid)
		{
			 return db.tblImages_GetBy_iaid(_iaid);
		}
		#endregion
	}
}